USE [master]
GO

IF EXISTS ( SELECT  [name]
            FROM    sys.databases
            WHERE   name = N'SaleManagement' ) 
    DROP DATABASE SaleManagement
GO

CREATE DATABASE SaleManagement
GO